*{
    padding: 0px;margin: 0px;
}
@color:#F06060;
body{
    background: @color;
    position: relative;
}
html{
    font-size: 10px;
    //iphone4和iphone5的屏幕分辨率
    @media screen and(max-width:320px)
    {
        font-size: 7.5px;
    }
}
a{
    text-decoration: none;
}
#welcome{
    position: absolute;
    width: 100%;
    color: white;
    background: @color;
    z-index: 20;
    h1{
       width: 100%;
       margin-top: 15rem;
       text-align: center;
        font-size: 4rem;
    }
    p{
        opacity: 0.8;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        margin-top: 8rem;
    }
    .btnWap{
        margin-top: 20rem;
        text-align: center;
        width: 100%;
        button{
            .btn;
        }
    }
}
#content{
    position: absolute;
    width: 100%;
    color: white;
    z-index: 1;
    .scoreWrap{
        position: absolute;
        left: 1.8rem;
        top: 1.8rem;
        font-size: 1.8rem;
        opacity: 0.8;
    }
    #time{
        position: absolute;
        right: 1.8rem;
        top: 1.8rem;
        font-size: 1.8rem;
        opacity: 0.8;
    }
    #box{
        position: absolute;
        top: 15rem;
        width: 100%;
        box-sizing: border-box;
        background: #ddd;
        border-radius: 1rem;
        border:1rem solid #ddd;
    }
}
.btn{
    background: #FCAD26;
    color: white;
    padding: 2rem 10rem;
    border: none;
    border-radius: .5rem;
    box-shadow: 0 .6rem 0 darkorange;
}

#over{
    position: absolute;
    width: 100%;
    z-index: 20;
    background: @color;
    display: none;
    h1{
        width: 100%;
        text-align: center;
        margin-top: 20rem;
        font-size: 4rem;
    }
    .buttonWrap{
        margin-top: 10rem;
        text-align: center;
        button{
            .btn;
        }
    }
}
